// /**-------------------------------------------------------------babel-polyfill--------------------------------------------------------------------------- */
// import 'babel-polyfill';
import '@babel/polyfill';

// import 'core-js/stable';
// import 'regenerator-runtime/runtime';
import Vue from 'vue';
import App from './App.vue';
import router from './router';

//权限配置
import './permission'; // 权限

/**-------------------------------------------------------------wps_sdk.js--------------------------------------------------------------------------- */
// import wps_sdk from './palugs/wps_sdk';
// import './palugs/wps_sdk';



/**-------------------------------------------------------------iconfont图标--------------------------------------------------------------------------- */
import 'styles/iconfont/iconfont.js';

/**-------------------------------------------------------------全局属性配置--------------------------------------------------------------------------- */
import basePlugin from '@/utils/install/basePlugin';
Vue.use(basePlugin);
/**-------------------------------------------------------------全局组件插件--------------------------------------------------------------------------- */
import baseComponent from '@/utils/install/baseComponent';
Vue.use(baseComponent);

// // 全局引入 base64
// import Base64 from 'js-base64';
// Vue.use(Base64);

// console.log(process.env)

Vue.config.productionTip = false;
/**-------------------------------------------------------------element-ui--------------------------------------------------------------------------- */
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/display.css';
Vue.use(ElementUI, { size: 'mini', zIndex: 3000 });
/**-------------------------------------------------------------avue--------------------------------------------------------------------------- */
import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue, { size: 'mini' });
/**-------------------------------------------------------------my-ui--------------------------------------------------------------------------- */
import UmyUi from 'umy-ui';
import 'umy-ui/lib/theme-chalk/index.css'; // 引入样式
Vue.use(UmyUi);

/**-------------------------------------------------------------动画：https://www.dowebok.com/demo/2014/98/ --------------------------------------------------------------------------- */
import '../public/animate/animate.min.css';
/**-------------------------------------------------------------vuex 挂载--------------------------------------------------------------------------- */
import store from '@/store';

/**-------------------------------------------------------------文件夹上传 或 文件夹--------------------------------------------------------------------------- */
import uploader from 'vue-simple-uploader';
Vue.use(uploader);
// console.log(process.env.VUE_APP_POST, process.env.VUE_APP_BASEURL);
// /**-------------------------------------------------------------Web Office SDK for Javascript--------------------------------------------------------------------------- */
// import * as WPS from './assets/web/web-office-sdk-v1.1.8.es';
// Vue.prototype.wps = WPS;

//变量样式
// import './styles/variate.scss'
// import '@/assets/wpp.js';
//样式
import './styles/index.scss';

/**-------------------------------------------------------------主题样式引入--------------------------------------------------------------------------- */
import './styles/theme.css';

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
